package com.hmdp.service.impl;

import com.hmdp.entity.BlogComments;
import com.hmdp.mapper.BlogCommentsMapper;
import com.hmdp.service.IBlogCommentsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.lang.reflect.Method;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
@Service
public class BlogCommentsServiceImpl extends ServiceImpl<BlogCommentsMapper, BlogComments> implements IBlogCommentsService {
//    public static void main(String[] args) {
//        BlogCommentsServiceImpl blogCommentsService = new BlogCommentsServiceImpl();
//        Class<BlogComments> blogCommentsClass = blogCommentsService.currentMapperClass();
//        String canonicalName = blogCommentsClass.getCanonicalName();
//        Method[] methods = blogCommentsService.getEntityClass().getMethods();
//        System.out.println(canonicalName);
//        for (Method m :
//                methods) {
//            System.out.println(m);
//        }
//    }
}
